import $ from 'jquery'
import 'ztree'
import 'ztree/css/zTreeStyle/zTreeStyle.css'
import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import ElementUI from 'element-ui'
import 'element-ui/lib/theme-chalk/index.css'
import axios from 'axios'//不小心重新下载了axios之后 ，这里要重新剪切引入一下
axios.defaults.withCredentials = true;//这里一允许，后端alloworigins要从*换成ip+port
axios.defaults.baseURL="http://localhost:8080/"
Vue.prototype.$axios = axios
Vue.use(ElementUI)

Vue.config.productionTip = false

new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
